package spring.demo.service;

import org.apache.ibatis.annotations.Param;
import spring.demo.bean.User;

import java.util.List;

public interface UserService {
//登录接口
    String login(String username,String password);
    //查询全部接口
    List<User> findAll();
    //删除接口
    int deleteById(@Param("id") int id);
    //增加
    int add(User user);
}
